package com.aizuda.boot.modules.business.contract.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author sangyirong
 * @ClassName WorkflowNodeFieldDTO
 * @Version 1.0
 * @Date 2025/5/23 14:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "合同流程表单字段")
public class WorkflowNodeFieldDTO {

    @Schema(description = "ID")
    private Integer id;

    @Schema(description = "所属字段ID")
    private Integer fieldId;

    @Schema(description = "字段名称")
    private String fieldName;

    @Schema(description = "是否隐藏")
    private Boolean isHidden;

    @Schema(description = "是否可编辑")
    private Boolean canEdit;

    @Schema(description = "排序")
    private Integer fieldOrder;

    @Schema(description = "子节点")
    private List<WorkflowNodeFieldDTO> children;
}
